package com.gxa.core.recycling.pojo;


import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.models.auth.In;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.persistence.*;
import java.io.Serializable;

@Data
/*@ToString(exclude = {"salt","longType","lastLoginTime",""})*/
@NoArgsConstructor
@AllArgsConstructor
//出库订单表
@Table(name = "outOrderItem")
@Entity
public class OutOrderItem implements Serializable {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    @Column(name = "id")
    private Long id;
    //订单id

    @Column(name = "outOrderId")
    private Long outOrderId;
    //废品类别
    @Column(name = "wasteId")
    private Long wasteId;
    //出库数量
    @Column(name = "outNumber")
    private Integer outNumber;

    //出库单价

    @Column(name = "price")
    private Double price;

    //总价
    @Column(name = "total")
    private Double total;




}
